﻿using RepositoryPattern.Models.Domain;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace RepositoryPattern.Infrastructure
{
    public class AppDataContext : DbContext
    {
        public AppDataContext()
            : base("AdventureWorksStore")
        {

        }

        public AppDataContext(string configName)
            : base(configName)
        {
        }
        public DbSet<Category> Category { get; set; }
        public DbSet<Product> Product { get; set; }
    }
}